/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lucky
 * Date: 2022-08-29
 * Time: 15:13
 */
public class demo1 {
    public static void main(String[] args) {
        Tree tree = new Tree();
        Tree.TreeNode root = tree.cretaTree();
        tree.preOder(root);
        System.out.println();
        tree.inOder(root);
        System.out.println();
        tree.lastOder(root);
    }

}
